
import Relay from "react-relay";
export default class GetQiNiuToken extends Relay.Mutation {

    getMutation() {
        return Relay.QL`mutation { getQiNiuToken }`;
    }

    getVariables() {
        return {
            argsInput: {
            }
        };
    }

    getFatQuery() {
        return Relay.QL`fragment on getQiNiuTokenPayload {
            getQiNiuToken {
                errorCode
                value
                totalResult
                qiniutoken
                id
            }
        }`;
    }

    getConfigs() {
        return [{
            type: 'REQUIRED_CHILDREN',
            children: [Relay.QL`
                fragment on getQiNiuTokenPayload {
                        getQiNiuToken {
                            errorCode
                            value
                            totalResult
                            qiniutoken
                            id
                        }
                 }
            `]
        }];
    }

}

